<html><head><meta http-equiv=content-type content="text/html; charset=utf-8">
</head>
<body >
<center>
<title>{% block title %}{{ options.blog_name }}{% endblock %}</title>
<link rel="alternate" href="/feed/" type="application/rss+xml" title="RSS 2.0">
<link rel="stylesheet" type="text/css" href="/upload/tss.css" />
<link rel="stylesheet" type="text/css" href="{{ theme.dir }}/mods.css" />
<link rel="stylesheet" type="text/css" href="{{ theme.dir }}/space.css" />
{% block js %}
{% endblock %}
<div id="usrbar">
		 {% if 3|power %}
		  <a  href="/" ><strong>返回主页</strong></a>
		 {% if 6|power %} 
		 | <a  href="/admin/" target="_blank">我的后台</a>
		 {% endif %}
		 | <a  href="{{ logout_url }}" >退出</a>
		 {% else %}
		  <a  href="/admin/" >登录</a>
		{% endif %}
</div>

<div id="main" align="left">
{% block view_index %}{% endblock %}
	<div id="header">
		<div class="lc"><div class="rc"></div></div>
		<div class="tit"><a href="/" class="titlink" >{{ options.blog_name }}</a></div>
		<div class="desc">{{ options.blog_desc }}</div>
		<div id="tabline">&nbsp;</div>
		<div id="tab">
			<a href="/" {% ifequal keyword "main" %} class="on" {% endifequal %}>主页</a>
		    {% for cat in categories.1 %}
			    <span>|</span>
				<a href="/category/{{ cat.category_url }}/" id="{{cat.key}}" title="{{cat.category_name}}" {% ifequal keyword  cat.category_url %} class="on" {% endifequal %}>{{cat.category_name}}</a>
		    {% endfor %}
		</div>
	</div>
	
	{% block content %}{% endblock %}
</div>
<br>
<br><center><div id="ft">&copy;2008  &nbsp;&nbsp; Prowered By woiclub.cn&nbsp;</div></center>

{% if not 6|power %}
{% if options.analytics %}
<!-- Google analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("{{ options.analytics }}");
pageTracker._initData();
pageTracker._trackPageview();
</script>

{% endif %}
{% endif %}
</body>
</html>